package com.hujun.common.time.config;

import java.util.Date;

public class SimpleTriggerConfig extends TriggerConfig{
	/**开始日期*/
	private Date startDate;
	/**结束日期*/
	private Date endDate;
	/**时间间隔，ms为单位*/
	private long repeatInterval = 1000 * 10;
	/**重复次数*/
	private int repeatCount = 100;
	/**优先级*/
	private int priority;
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public long getRepeatInterval() {
		return repeatInterval;
	}
	public void setRepeatInterval(long repeatInterval) {
		this.repeatInterval = repeatInterval;
	}
	public int getRepeatCount() {
		return repeatCount;
	}
	public void setRepeatCount(int repeatCount) {
		this.repeatCount = repeatCount;
	}
	public int getPriority() {
		return priority;
	}
	public void setPriority(int priority) {
		this.priority = priority;
	}
	@Override
	public String toString() {
		return "SimpleTriggerConfig [startDate=" + startDate + ", endDate="
				+ endDate + ", repeatInterval=" + repeatInterval
				+ ", repeatCount=" + repeatCount + ", priority=" + priority
				+ ", triggerName=" + triggerName + ", type=" + type + "]";
	}
	
}
